<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <title>SHOP 管理中心 - 类型管理 </title>
  <base href="__STATIC__/">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link href="styles/general.css" rel="stylesheet" type="text/css" />
  <link href="styles/main.css" rel="stylesheet" type="text/css" />
</head>

<body>

  <h1>
    <span class="action-span"><a href="{:url('type/add')}">商品类型添加</a></span>
    <span class="action-span1"><a href="">SHOP 管理中心</a> </span><span id="search_id"
      class="action-span1"> - 商品类型 </span>
    <div style="clear:both"></div>
  </h1>

  <form method="post" action="" name="listForm">
    <!-- start goods type list -->
    <div class="list-div" id="listDiv">

      <table width="100%" cellpadding="3" cellspacing="1" id="listTable">
        <thead>
            <tr>
            <th>商品类型名称</th>
            <th>状态</th>
            <th>操作</th>
          </tr>
        </thead>
        <tbody>  
        {foreach $data as $v}
          <tr>
            <td class="first-cell" ><span>{$v.type_name}</span></td>
            <td align="center">
                   <img src="images/yes.gif">{$v.status}</td>
            <td align="center">
              <a href="{:url('attr/show')}?type_id=1" title="属性列表">{属性列表}</a> |
              <a href="goods_type_edit.html" title="编辑">编辑</a> |
              <a href="javascript:;" title="移除">移除</a>
            </td>
          </tr>
        {/foreach}
          
        </tbody>
      </table>

    </div>
    <!-- end goods type list -->
  </form>

  <div id="footer">自学使用 &copy; 2019 </div>
</body>

</html>